﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="RendicionAddPanel.ascx.cs"
 Inherits="UILGestion.ObraAdmin.RendicionCaja.RendicionAddPanel" %>
<%@ Register Assembly="WebLib" Namespace="WebLib" TagPrefix="lib" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<input id="idObra" type="hidden" runat="server" />
<input id="idCaja" type="hidden" runat="server" />
    <link href="~/css/main.css" rel="stylesheet" type="text/css" />
     <link rel="stylesheet" type="text/css" href="~/estilos/_common/styles/fonts.css" />
 <link rel="stylesheet" type="text/css" href="~/estilos/_common/styles/global.css" />
 <link rel="stylesheet" type="text/css" href="~/estilos/_common/styles/theme.css" />
    <link href="~/css/default.css" rel="stylesheet" type="text/css" />
     <asp:Panel ID="Panel2" runat="server" CssClass="Heading secTitle AreaHeading ms-crm-List-Header " >
                NUEVA RENDICION CAJA CHICA</asp:Panel>
   

 <table class="ui-accordion">
        <tr>
            <td  width="120px" align="right">
                Numero:</td>
            <td   >
                <asp:Label ID="NumeroRendicionTxt" runat="server"></asp:Label>
            </td>
            <td >
                &nbsp;</td>
            <td  rowspan="4">
              
                <table class="PanelTotales">
                    <tr>
                        <td width="80px" align="right">
                            Monto Ref Caja:</td>
                        <td align="right" width="100px">
                            <asp:Label ID="simbol3LBL" runat="server"></asp:Label>
                            <asp:Label ID="totalRefLBL" runat="server"></asp:Label>
                        </td>
                    </tr>
                </table>
              
            </td>
        </tr>
        <tr>
            <td width="120px" align="right">
                Caja:</td>
            <td>
                <asp:Label ID="cajaLabel" runat="server"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td width="120px" align="right">
                Descripcion:</td>
            <td>
                <asp:TextBox ID="descripcionTextBox" runat="server" Width="300px" TabIndex="1"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td width="120px" align="right">
                Moneda:</td>
            <td>
                <asp:Label ID="monedaLBL" runat="server"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
        </tr>
     
    </table>
   <hr />
   <asp:UpdatePanel runat="server" ID="depositoUPNL" UpdateMode="Conditional"  >
   
   <ContentTemplate>
   <asp:Panel ID="panel" runat="server" >
   
    <table class="ui-accordion">
        <tr>
            <td   colspan="2">
                DEPOSITO A RENDIR</td>
            <td colspan="2">
                &nbsp;</td>
            <td rowspan="7">
                <table class="PanelTotales">
                    <tr>
                        <td align="right">
                            Saldo Anterior&nbsp; <asp:Label ID="simbolLBL" runat="server"></asp:Label>
                        </td>
                        <td>
                            <lib:Input ID="saldoAnteriorLBL" runat="server" DataType="Double" Enabled="false" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            Total Deposito&nbsp; <asp:Label ID="simbol1LBL" runat="server"></asp:Label>
                        </td>
                        <td>
                           <lib:Input ID="totalDepositoLBL" runat="server"  DataType="Double" Enabled="false" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            Total</td>
                        <td align="right">
                            <asp:Label ID="simbol2LBL" runat="server"></asp:Label>
                            <asp:Label ID="totalFinalLBL" runat="server"></asp:Label>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="right" width="120px">
                Forma Entrega:</td>
            <td colspan="2">
                <asp:DropDownList ID="tipoEntregaDDL" runat="server" TabIndex="2" Width="250px">
                </asp:DropDownList>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td align="right" width="120px">
                Fecha:</td>
            <td colspan="2">
                <asp:TextBox ID="fechaTXT" runat="server" Width="150px" TabIndex="3"></asp:TextBox>
                <asp:ImageButton ID="ImageButton1" runat="Server" 
                                              AlternateText="Click aqui para mostrar calendario" font-names="Arial" 
                                               ImageUrl="~/Images/month.gif"  />
                                              &nbsp;<asp:CalendarExtender ID="CalendarExtender2" runat="server"     
                                                     TargetControlID="fechaTXT"
                                                       PopupButtonID="ImageButton1"></asp:CalendarExtender>
                (dd/mm/aaaa)
                </td>
        </tr>
        <tr>
            <td align="right" width="120px">
                Nro. Desposito:</td>
            <td width="120px" >
                <asp:TextBox ID="nroDepositoTXT" runat="server" Width="150px" TabIndex="4"></asp:TextBox>
            </td>
            <td rowspan="3">
                <asp:Button ID="calcularIMG" runat="server"  Text="Calcular"  CssClass="button" 
                    onclick="calcularIMG_Click" TabIndex="6"
                     />
            </td>
        </tr>
        <tr>
            <td align="right" width="120px">
                Total:</td>
            <td>
                <lib:Input ID="totalTXT" runat="server" Width="150px"  DataType="Double" 
                    TabIndex="5"/>
            </td>
        </tr>
        <tr>
            <td align="right" width="120px">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td align="right" width="120px">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
</table>
</asp:Panel>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="calcularIMG" />
</Triggers>
</asp:UpdatePanel>


<hr/>




